package com.aruba.splashview;

import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

public class MainActivity extends AppCompatActivity {
    SplashView sv;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        sv = findViewById(R.id.sv);
        new Handler().postDelayed(new Runnable() {
            @Override
            public void run() {
                sv.finshSplash();
            }
        }, 5000);
    }


}
